package com.yonyou.gmmc.service.forum.dao;

import java.util.List;
import java.util.Map;

import com.yonyou.gmmc.common.annotation.OracleDb;
import com.yonyou.gmmc.service.forum.model.TmForumBoard;

import feign.Param;
import tk.mybatis.mapper.common.Mapper;

@OracleDb
public interface TmForumBoardMapper extends Mapper<TmForumBoard> {

	//PC后台查询版块管理列表
	List<TmForumBoard> queryForumBoardPC(Map<String, Object> queryMap);

	List<TmForumBoard> queryBoardPC(Long typeId);

    /**
     * 车主APP根据UserId查询OpenId
     * @param userId
     * @return
     */
    public String selectopenIdByUserId(@Param("userId") String userId);
}